<template>
  <div>
    <div class="swiper-container">
      <div class="swiper-wrapper">
        <div class="swiper-slide swiper-no-swiping " data-swiper-autoplay="0">欢迎编号00012女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00013女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
        <div class="swiper-slide swiper-no-swiping" data-swiper-autoplay="0">欢迎编号00014女神参加活动</div>
      </div>
    </div>
  </div>
</template>
<script>
// import '@/assets/lib/jquery-1.8.2.min.js';
export default {
  data() {
    return {
      key: ''
    }
  },
  mounted() {
    this.noticeScroll();
  },
  methods: {
    noticeScroll() {
      var mySwiper = new Swiper('.swiper-container', {
        speed: 10000,
        loop: true,
        width: 320,
        autoplay: {
          delay: 1000,
          stopOnLastSlide: true,
          disableOnInteraction: false,
          waitForTransition: true
        },
        // slide: 'fade',
        noSwiping: true
      })
    }
  },
}
</script>
<style lang="less" scoped>
.scroll-text {
  border: 1px solid red;
  width: 100%;
  height: 4.5em;
  overflow: hidden;
  padding: 3px;
  ul {
    display: flex;
    width: 500%;
    li {
      width: 100%;
    }
  }
}
</style>
